package com.strato.json.enhancer.v1_0_0;

import java.util.Map;

import com.strato.annotation.osgi.v1_0_0.service.OsgiService;
import com.strato.json.v1_0_0.exec.JSONUtils;
import com.strato.mvc.api.v1_0_0.view.ModelEnhancer;

@OsgiService
public class JsonEnhancer implements ModelEnhancer {

	@Override
	public void enhance(Map<Object, Object> model) {
		JSONUtils jsonUtils = JSONUtils.getInstance();
		model.put("jsonUtil", jsonUtils);
	}

}
